419858e78ca070498e84508b18fa0f2df04fc221,modules/util/sync-engine/src/com/liferay/sync/engine/documentlibrary/handler/BaseJSONHandler.java,BaseJSONHandler,handlePortalException,#String#,153

Before Change


			SyncAccount syncAccount = SyncAccountService.fetchSyncAccount(
				getSyncAccountId());

			syncAccount.setState(SyncAccount.STATE_DISCONNECTED);
			syncAccount.setUiEvent(
				SyncAccount.UI_EVENT_SYNC_SERVICES_NOT_ACTIVE);

			SyncAccountService.update(syncAccount);

			retryServerConnection();
		}

After Change


		else if (exception.equals(
					"com.liferay.sync.SyncServicesUnavailableException")) {

			retryServerConnection(
				SyncAccount.UI_EVENT_SYNC_SERVICES_NOT_ACTIVE);
		}
		else if (exception.equals(
					"com.liferay.portal.kernel.jsonwebservice." +